package dao;

import entity.Account;
import org.apache.ibatis.annotations.Param;

public interface AccountDao {
	
	/**
	 * 根据账户号获取账户金额
	 * @param accountNo
	 * @param money
	 * @return
	 */
	int updateMoney(@Param("accountNo")String accountNo,
					@Param("money")double money);
	
	/**
	 * 根据账户号获取账户信息
	 * @param accountNo
	 * @return
	 */
	Account selectAccount(String accountNo);


}
